<?php $this->pageTitle = "Forgot Password | " . $agency->name; ?>
<?php Yii::app()->publishAndRegisterCssFile($_SERVER['DOCUMENT_ROOT'] . '/css/app.account.login.custom.css'); ?>

<div class="main_container container_16">
	<div class="flat_area">
		<div class="grid_16">
			<div id="login_box_wrapper" class="relative">
				<div id="agency-login-header" class="align-center">
					<?php if ($agency->logo): ?>
						<img src="<?php echo $agency->logo; ?>" alt="<?php echo $agency->name; ?>" class="agency-logo" style="max-width: 400px;" /><br/>
					<?php endif; ?>
					<h1><?php echo ucwords(strtolower($agency->name)); ?></h1>
				</div>
				<div class="form form-forgetpw">
					<?php
					$form = $this->beginWidget('CActiveForm', array(
						'id' => 'forgetpassword-form',
						'enableAjaxValidation' => false,
					));
					?>

					<div id="login_box" class="section">
						<div class="block">
							<h1>Reset Password</h1>
							<p >
								Before we can reset your password, you need to enter the
								information below to help identify your account:
							</p>
							<div class="">
								<?php echo $form->labelEx($model, 'username'); ?>:
								<br/>
								<?php echo $form->textField($model, 'username', array('size' => 25, 'maxlength' => 255)); ?>
								<?php echo $form->error($model, 'username'); ?>
								<?php echo CHtml::submitButton('Reset Password', array('id' => 'foregetpassword-submit')); ?>
							</div>
						</div>
					</div>
					<?php $this->endWidget(); ?>
				</div>
			</div>
		</div>
	</div>
</div>